/*
package cn.htu;

import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.webapp.WebAppContext;

public class JettyRunner {


    public static void main(String[] args) throws Exception {

        long begin = System.currentTimeMillis();

        WebAppContext webapp = new WebAppContext("webapp", "/");
        webapp.setDefaultsDescriptor("/src/test/resources/runtime/webdefault.xml");

        // add mock web.xml here to replace the default web.xml under webapp and enable mockMode
        webapp.setDescriptor("/src/main/webapp/WEB-INF/web.xml");

        Server server = new Server(8083);
        server.setHandler(webapp);
        server.start();

        System.out.println("Jetty Server started, use " + (System.currentTimeMillis() - begin) + " ms");
    }

}

*/
